package tech.aistar.corejava.day03;

/**
 * Created by 李雨昂 on 2019/7/20.
 */
public class IsLeapYear {
    public static boolean isLeapYear(int year){
        if((year % 400 == 0) || (year % 4 == 0 && year % 100 != 0)){
            return true;
        }
        return false;
    }
}
